<!-- $Id: goods_type.htm 14216 2008-03-10 02:27:21Z testyang $ -->

{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<form method="post" action="" name="listForm">
<!-- start goods type list -->
<div class="list-div" id="listDiv">
{/if}

<table width="100%" cellpadding="3" cellspacing="1" id="listTable">
  <tr>
  	<th>Country Name</th>
    <th>State Name</th>
    <th>Handler</th>
  </tr>
  {foreach from=$state item=stat}
  <tr>
  	<td style="text-align:center">{$stat.country_name}</td>
    <td style="text-align:center">{$stat.state_name}</td>
    <td style="text-align:center">
    <a href="state.php?act=modify&cat_id={$stat.state_id}" ><img src="/admin/images/icon_edit.gif" width="16" height="16" border="0" /></a> |	 
    <a href="state.php?act=delete&cat_id={$stat.state_id}" ><img src="/admin/images/icon_drop.gif" width="16" height="16" border="0" /></a>
    </td>
  </tr>
  {/foreach}
</table>

<!-- 分页 -->
<table id="page-table" cellspacing="0">
  <tr>
    <td align="right" nowrap="true">
    {include file="page.htm"}
    </td>
  </tr>
</table>

{if $full_page}

</div>
</form>

<form method="post" action="state.php" name="addForm">
<table >
	<tr>
		<td>Country:</td>
		<td>
	  	<select id="country" name="country" class="lcl_texte" style="padding-top:5px;text-align:left;">
			   <!--{foreach from=$country item=value}-->
			   <option value="{$value.country_id}" >{$value.country_name}</option> 			
			   <!--{/foreach}-->
			   </select>
		</td>
		<td>
		New State:
		</td>
		<td>
			<input type="text" name="new_type" style="float:center;color:{$goods_name_color};" size="30" />
		</td>
		<td>
          	<input type="submit" value="Add" class="button" />
          	<input type="hidden" name="act" value="add_newtype" />
		</td>
	</tr>
	
</table>
</form>


{include file="pagefooter.htm"}
{/if}
